using System;
using System.Collections.Generic;
using System.Text;
using MotionBlur.Butler.Runtime;
using MotionBlur.Butler.Model;

namespace MotionBlur.Butler.Triggers
{
    
    public class EmailMonitor : ITriggerMonitor
    {
        
        public bool CanRegister(DutyTrigger trigger)
        {

            return (trigger is EmailTrigger);

        }

        public void RegisterTrigger(DutyTrigger trigger, Guid orderID, TriggerCallback callback)
        {

            EmailTrigger emailTrigger = trigger as EmailTrigger;            
            
        }

        public void UnregisterTrigger(DutyTrigger trigger)
        {
            
        }

        public void StartMonitor()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void StopMonitor()
        {
            throw new Exception("The method or operation is not implemented.");
        }

    }

}